<style type="text/css">
    .dashboard-wrapper .message{
        text-align: center;
        margin: 0 auto;
        margin-top:100px;
    }
    .dashboard-wrapper .message p{
        padding: 0;
        margin: 0;
    }
    .dashboard-wrapper .message{
        border: 5px solid #CCC;
        width:400px;
        text-align: center;
        border-radius: 4px 4px 4px 4px;
    }
    .dashboard-wrapper .message p.skip{
        background-color: #47D5F8;
        height: 30px;
        line-height: 30px;
        text-align: center;
        cursor: pointer;
    }
    .dashboard-wrapper .message p.skip a{
        color: #ffffff;
    }
    .dashboard-wrapper .message span{
        padding:0 0 0 15px;
        margin: 0;
        color:#CF8E2B;
        font-size: 14px;
    }
    .dashboard-wrapper .message p.cue{
        padding: 10px 0 20px 0;
    }
    .dashboard-wrapper .message p.msg{
        color:red;
        padding: 10px 0 0 0;
    }
    #timerc{
        padding: 0;
        margin: 0;
        color:red;
    }
</style>
<div class="dashboard-wrapper">
    <div class="message">
        <p class="msg"><?php echo $msg ? $this->translate($msg) : ''; ?></p>
        <p class="cue"><img src="/img/admin/loading-orange.gif" alt="loading-green"><span><?php echo $this->translate('ERROR_TEXT'); ?>(<span id="timerc">3</span>)....</span></p>
        <p class="skip"><a href="http://home.svn.com/admin/<?php echo $action; ?>"><?php echo $this->translate('SKIP_TEXT'); ?></a></p>
    </div>
</div>
<script type="text/javascript">
    $(function() {
        TheCountdown();
    });
    var timerc = 4;
    var actions = '<?php echo $action; ?>';
    function TheCountdown() {
        if (timerc > 1) {
            timerc--;
            document.getElementById('timerc').innerHTML = timerc;
            setTimeout("TheCountdown()", 1000);
        } else {
            location.href = "http://home.svn.com/admin/" + actions;
        }
    }
</script>